import sys

__author__ = 'andrey'

class Ui(object):

    def write_err(self, *args, **opts):
        for a in args:
            sys.stderr.write(str(a))

    def warn(self, *msg, **opts):
        self.write_err(*msg, **opts)